<?php
include("../config/connect.php");
include("../public/common.php");

$opt = CheckUrlParamNoDie( "opt" );
if ($opt == "download")
{
	$sql = "update settings set download_count=download_count + 1";
	mysql_query( $sql );
	Header("Location:http://www.gouwutu.com/download/goshopping.zip");
	exit;
}

$sql = "select download_count from settings";
$row = mysql_fetch_assoc( mysql_query( $sql ) );
$c = $row["download_count"];
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body style="margin-left:0; margin-top:0; font-size:10px; color:#FFFFFF; font-weight:bold; background-color:transparent;">
<table align="center" cellpadding="0" cellspacing="0" border="0"><tr><td style="font-size:12px; font-weight:bold"><?PHP echo "已有 $c 位用户下载"; ?></td></tr></table>
</body>
</html>

